xl: randomly generate UUIDs
authorGianni Tedesco <gianni.tedesco@citrix.com>
Thu, 2 Sep 2010 17:12:14 +0000 (18:12 +0100)
committerGianni Tedesco <gianni.tedesco@citrix.com>
Thu, 2 Sep 2010 17:12:14 +0000 (18:12 +0100)
commit785684b4fddbd683763530a974ac822a01522794
treee83410c7e87f9b4329d5c79acfbe1a82c7b0884a
parent7497632508eb0574bccb5418339ceb38131dae2f
xl: randomly generate UUIDs

This patch converts xl to randomly generate UUID's rather than using a
dodgy time-seeded PRNG. I have ignored various suggestions so far on
auto-generation of MAC addresses and left it as a topic for a future
patch to solve. In other words the behaviour stays the same it's just
using a true random source. This patch also implements the "uuid" config
file parameter in xl.

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Acked-By: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/Makefile
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_uuid.h [new file with mode: 0644]
tools/libxl/xl.c
tools/libxl/xl_cmdimpl.c
tools/ocaml/libs/xl/xl_stubs.c